• Image placeholder
  • 홈 페이지
  • 블로그 센터
  • 범주
Image placeholder

제어 컴포넌트

24일) useQuery로 바로 안불러오고 useApolloClient로 axios처럼 원하는 위치에서 data 불러올래요! YUP! react HOOK! code camp FE 6기

그 중, 컴포넌트가 열리면 실행되는 useQuery와 달리 원하는 시점에 실행 해줄 수 있는 useLazyQuery와 axios처럼 원하는 위치에서 받을 수 있게 도와주고 결과 값을 내가 원하는 상자에 담아줄 수 있는 useApolloClient를 알아봤죠! react-form, redux-form, formik, react-hook-form 등... 그 중, 최근에 함수형 컴포넌트에서 가장...

client.query비제어 컴포넌트ajaxauthorizationlocalstoragereact hook form제어 컴포넌트userInfoheadersyupglobalStateusequeryyupResolvercontextuseLazyQueryajax

(React) 제어 컴포넌트 (Controlled Component)

HTML에서 <input>, <textarea>, <select>와 같은 폼 엘리먼트는 일반적으로 사용자의 입력을 기반으로 자신의 state를 관리하고 업데이트한다. React state를 "신뢰 가능한 단일 출처(single source of truth)"로 만들어 두 요소를 결합할 수 있다. 그러면 폼을 렌더링하는 React 컴포넌트는 폼에 발생하는 사용자의 입력값을 제어한다. 이러한 방...

Controlled Component리엑트제어 컴포넌트ReactControlled Component

© 2022 intrepidgeeks.com

Privacy Policy Contact US Sitemap
🍪 This website uses cookies to ensure you get the best experience on our website. Learn more